package org.wukongcrm.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 项目成员表
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "project_member")
public class ProjectMember implements Serializable {
    @TableId(value = "project_member_id", type = IdType.INPUT)
    private Integer projectMemberId;

    /**
     * 项目id
     */
    @TableField(value = "project_id")
    private Integer projectId;

    /**
     * 成员id
     */
    @TableField(value = "user_id")
    private Integer userId;

    private static final long serialVersionUID = 1L;
}